# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-application
_pkgname=python-application
pkgver=2.7.0
pkgrel=0
pkgdesc="Basic building blocks for python applications"
url="http://pypi.python.org/pypi/python-application"
arch="noarch"
license="LGPL-2.0-or-later"
depends="python2"
makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python2 setup.py build
}

check() {
	python2 setup.py check
}

package() {
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="d4fd24eb904bcaab2959df6876bb0398e6cc96d3548151ddb8af1b9e1406427103721889544599c9e39aee961e44f18283e45a312875ba51d7d727e0176703b3  python-application-2.7.0.tar.gz"
